package cn.lili.modules.member.client;

import cn.lili.modules.constant.ServiceConstant;
import cn.lili.modules.member.fallback.VipConfigFallback;
import cn.lili.modules.member.fallback.VipFallback;
import cn.lili.modules.system.entity.dos.LiVip;
import cn.lili.modules.system.entity.dos.LiVipConfig;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(path = "${server.servlet.context-path}", name = ServiceConstant.USER_SERVICE, contextId = "vip-config", fallback = VipConfigFallback.class)
public interface VipConfigClient {

    /**
     * 获取默认会员配置
     *
     */
    @GetMapping("/feign/vip/getByDefault")
    LiVipConfig getByDefault();
}
